home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 12 code / Components.sea / Components / Headers / MathComponentCommon.h < prev    next >
Encoding:
Text File  |  1994-12-02  |  1.2 KB  |  48 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        MathComponentCommon.h
  3.  
  4.     Contains:    Math component routines (also used by MoMath component).
  5.  
  6.     Written by:    Gary Woodcock
  7.  
  8.     Copyright:    © 1992 by Apple Computer, Inc.
  9.  
  10.     Change History (most recent first):
  11.  
  12. */
  13.  
  14. //-----------------------------------------------------------------------
  15. // Includes
  16.  
  17. #ifndef _MATHCOMPONENTCOMMON_
  18. #define    _MATHCOMPONENTCOMMON_
  19.  
  20. #include <QuickTimeComponents.h>
  21.  
  22. //-----------------------------------------------------------------------
  23. // Prototypes
  24.  
  25. pascal    ComponentResult    MathOpen        (ComponentInstance        self);
  26.  
  27. pascal    ComponentResult    MathClose        (Handle                    storage,
  28.                                          ComponentInstance        self);
  29.  
  30. pascal    ComponentResult    MathCanDo        (short                    selector);
  31.  
  32. pascal    ComponentResult    MathVersion    (void);
  33.  
  34. pascal    ComponentResult    MathTarget        (Handle                    storage,
  35.                                          ComponentInstance        capturingComponent);
  36.                                     
  37. pascal    ComponentResult    MathDoDivide    (short                    numerator,
  38.                                          short                    denominator,
  39.                                          short                    *quotient);
  40.                                          
  41. pascal    ComponentResult    MathDoMultiply    (short                    firstNum,
  42.                                          short                    secondNum,
  43.                                          short                    *multiplicationResult);
  44.  
  45. #endif _MATHCOMPONENTCOMMON_
  46.          
  47. //-----------------------------------------------------------------------
  48.